home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 12
/
Mac Magazin and MacEasy Magazine CD - Issue 12.iso
/
CD Extras
/
Plug-ins
/
QuarkXPress
/
XChange International demos
/
INposition
/
INpos Demo 1.5.1 (3.3) Folder
/
INposition® 1.5.1
/
INpositionÆ 1.5.1.rsrc
/
EPSF_27000
< prev
next >
Wrap
Text File
|
1995-01-25
|
2KB
|
52 lines
/cpy 0 def
/cpx 0 def
/tmpy 0 def
/tmpx 0 def
/tmpstr () def
/thecolor 4 array def
/tmpcolor 4 array def
/tmprect 0 array def
/ok true def
/inverttextrect { % width height descent () --> draws white text on black rect
gsave /tmpstr exch def currentpoint /cpy exch def /cpx exch def
0 exch neg rmoveto /tmpy exch def /tmpx exch def
tmpx 0 rlineto 0 tmpy rlineto tmpx neg 0 rlineto closepath
1 1 1 1 setcmykcolor fill 0 0 0 0 setcmykcolor
cpx cpy moveto tmpstr show grestore} bind def
/beps { % - --> sets up for included eps
save 70 dict begin /showpage {} def /copypage {} def
0 setgray 0 setlinecap 1 setlinewidth 0 setlinejoin
10 setmiterlimit [] 0 setdash newpath
/langlevel where {pop languagelevel 1 ne {false
setstrokeadjust false setoverprint}if}if} bind def
/eeps {end restore} bind def % - --> cleans up after included eps
/nullsetgray {pop 1 setgray} bind def % g value --> sets gray to be white
/processsetgray { % g value --> sets the gray if printing the black
thecolor 3 get 1 eq{setgray}{pop 1 setgray}ifelse}bind def
/spotsetcmykcolor { % c m y k values --> sets appropriate gray color
0 1 3{tmpcolor exch 3 -1 roll put}for /ok true def
0 1 3{dup thecolor exch get 0 eq{pop}{exit}ifelse}for
dup tmpcolor exch get exch thecolor exch get div /x exch def
x 0 eq x 1 gt or{/ok false def}if
ok{0 1 3{dup tmpcolor exch get exch thecolor exch get x mul sub abs .005 lt
{}{/ok false def exit}ifelse}for}if
ok{1 x sub setgray}{1 setgray}ifelse
}bind def
/processsetcmykcolor { % c m y k values --> sets appropriate gray color
3 -1 0{thecolor exch get 0 ne{exit}{pop}ifelse}for 1 exch sub setgray
3 -1 0{dup thecolor exch get 0 ne{{pop}repeat exit}{pop}ifelse}for}bind def
/loadrect { % llx lly urx ury [- - - -] --> -
/tmprect exch def 3 -1 0{tmprect exch 3 -1 roll put}for}bind def
/bmirrorpict { % width --> undoes mirroring
gsave
0 translate
-1 1 scale}bind def
/bmirrorstr { % () --> undoes mirrored text
gsave
dup stringwidth pop
0 rmoveto -1 1 scale}bind def
/emirrorpict { % - --> resets the mirrored state
grestore}bind def
/emirrorstr { % - --> resets the mirrored state
grestore}bind def